package com.cx.mall.demo.model;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("demoConnect")
@ConfigurationProperties(prefix = "connect")
@Data
@ToString
public class Connect {
    private Long timeOut;
    private Long online;
}
